package com.jie.other.bean.http

import com.jie.other.bean.http.BuildDTO

/**
 * 场所列表adapter使用的类
 * Created by Administrator on 2017/11/27.
 */
class BuildListModel : BuildDTO() {
    var notRectify //未整改项
            : Int? = null
    var rectify //已整改项
            : Int? = null
    var checkCount //检查记录数
            : Int? = null
    var devCount //物联设备数
            : Int? = null
    var enterpriseCount //企业数
            : Int? = null
    var distance //距离(单位是：米)
            : Double? = null
    var typeName //单位性质
            : String? = null
    var location //详细地址
            : String? = null
    var riskLevel //隐患等级
            : String? = null
    var regionName //所属区域
            : String? = null
    var grade //信息完整度
            : String? = null
    var statusName //企业状态
            : String? = null
    var levelName //综合预警等级(0正常 1红色 2一般)
            : String? = null
    var isShowOperate //是否显示处置事项按钮
            = false

    //    public Integer getOperatesCount() {
    //        return operatesCount;
    //    }
    //
    //    public void setOperatesCount(Integer operatesCount) {
    //        this.operatesCount = operatesCount;
    //    }
    //    private Integer operatesCount;//处置事项数量
    var operateCount //处置事项数量
            : Int? = null

    override fun toString(): String {
        return "BuildListModel{" +
                "notRectify=" + notRectify +
                ", rectify=" + rectify +
                ", checkCount=" + checkCount +
                ", devCount=" + devCount +
                ", enterpriseCount=" + enterpriseCount +
                ", distance=" + distance +
                ", typeName='" + typeName + '\'' +
                ", location='" + location + '\'' +
                ", riskLevel='" + riskLevel + '\'' +
                ", regionName='" + regionName + '\'' +
                ", grade='" + grade + '\'' +
                ", statusName='" + statusName + '\'' +
                ", levelName='" + levelName + '\'' +
                ", showOperate=" + isShowOperate +
                ", operateCount=" + operateCount +
                '}'
    }
}